﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Maticsoft.BLL.CarrefourCover
{
    public partial class Trivia
    {
        /// <summary>
		/// 随机显示
		/// </summary>
		public List<Maticsoft.Model.CarrefourCover.Trivia> GetRandomModelList(int topNum, string strWhere)
		{
			DataSet ds = dal.GetRandomModelList(topNum,strWhere);
			return DataTableToList(ds.Tables[0]);
		}

    }
}
